pub const Category = struct {
    id: u32,
    name: []const u8,
};

pub const CategoryDtoForCreate = struct {
    name: []const u8,
};

pub const CategoryDtoForEdit = struct {
    id: u32,
    name: []const u8,
};

/// 带文章数量
pub const CategoryDtoWithArtCount = struct {
    id: u32,
    name: []const u8,
    count: u32, // 文章数量
};
